Made a conditional statement more logical to read.