fix bug with agenda event grid snapping, landing on wrong day (from PR#55)