fixed bug with event not listing correct dates in edit event