I think avoiding the "suprise if" as a rule is a bit heavy-handed. If the line is short and it reads nicely, I'm OK with it (as in this case).

You do have our style guide on your side though, so I can change it.