bugfix, with ignoring day-long events