Made on() and onNot() use onCondition.