Updated events index page logic.