Switch order of conditions in _if_ statement