Handle search.maxhits in rop search (needs discussion)