t7510: use consistent &&-chains in loop