Fixed bug where content was not shown if current time was in starttime <-> endtime range