Fixed conditional that would always return false.