Fixes implementation of getEventsForMonth