Calculation error when event is next month