event end is greater than calendar end fix