Simplify loop condition for readability.