Fix for calculating event order whe part of event in other month