[KFSQA-996] change unless to if