hb-with-command now gives up visibility control to if and if-not. Bug fix for event clearing