Change the order of a conditional to improve readability.