Corrected the improper if statement.