CRM-14939 - ensure proper pagination of search results past page 10.

----------------------------------------
* CRM-14939: unpredictable behavior with pagination of search results with duplicates
  https://issues.civicrm.org/jira/browse/CRM-14939