Logic appear not to be working correctly