Changed if-if statement to if-else statement

One if was the inverse of the other...