Events from one month appearing also on another

I have events on almost all October, but when I go to September it will be showing me events from October 5th which it shouldn’t.

This is happening:

solved with this:

scheduler['filter_month'] = function(id, event){
            var date = scheduler.getState().date;
            var min = scheduler.date.month_start(new Date(date));
            var max = scheduler.date.add(min, 1, 'month');
            
            return (event.start_date < max && event.end_date > min);
}