Update get_next_occurrences method in event model