Fixed conditional statement error.