Fixed bug. Ad between events should now not appear above pagination.