Reorder conditions according to their frequency

This should minimize useless tests.

No functional change.