Fixed reloadData method when trying to tile for an invalid number of pages.