Fix faulty logic