Fixed mixup in next/past event data

Past showed next data and Next showed past :/

(not connected to the current js error in the site)