Fixed issue #41

Fixed the issue where event is not showing if endtime - starttime < 30
minute