I see your point, and the implementation isn't really bad, but the comment raises a red flag. If the order of the if statements matters, it's safer just to link them all together, I think.

My usual policy with this sort of thing is that if you're forced to leave a comment, then you're probably doing something wrong.