Update helpers/xmodel.php fix Eventlist PageNavi

Update helpers/xmodel.php fix Eventlist PageNavigation if there are more events than configured to show on one page.