fixed bug that appeared on passing illegal date to /api/timetable/room-{id}/{date}