Bugfix in setting the size to 0 in a search

setting the size in a search to 0 (not None) leads to used size of 10
in the query. This is not what it should do. If the resultset 0 is
wanted it should query it.