CRM-13324 : code improvement

----------------------------------------
* CRM-13324: Reserve respondent process of survey not working if contacts are filter by particular group, and all records are selected for reserving.
  http://issues.civicrm.org/jira/browse/CRM-13324