Or another thought: If pressure plates spawn around stairs then there needs to be at least one "regular" (using the ".") square next to it such that you can bump into it without setting off a pressure plate.
Or, really, it's the bombs that are the killer: it could be the case that all pressure plates which spawn next to a staircase will never trip a bomb.
I don't know your code but those are the "logical" thoughts I have in thinking in pseudo-code.
Ultimately it comes down to "if a room spawns make my character die that's too unfair for a rogue-like"
That's what I experienced, at least, with 0.1.8.
I'm looking forward to both 0.1.9 and 0.2!