fixes for SqlPersonRepository.Search behavior for both security and paged results within the query (to minimize result records that need to have permission checks).