Bug 1013332 - Fix search limit setting in search generator