fixes event search pagination