Bug in delete hour and delete event fixed.