Simplify IF Statements (leave logic the same)

Broke down the IF statement into single statements to improve readability.

Logic remains the same.