Fixes bug 901130 - An admin can perform longer search queries.
Merge pull request #1384 from AdrianGaudebert/901130-admin-query-range

Fixes bug 901130 - An admin can perform longer search queries.