Condition not responding correctly.