Fixing next month events not showing

There is an issue with week view, not showing events which are on the next month. Fixed it somehow, maybe you can merge this or come up with something better. For my case, above changes seem to be functional.
Cheers :)