Changed the if statement so it is readable.