fix #9934: adjust query options once pagination is done

fixes http://trac.openmicroscopy.org.uk/ome/ticket/9934 -- in trying to replicate it, make sure you use the gist revision linked from the ticket