Fix bugs on main/event pages when there are no events