fixes #329: query the database in chunks of 200
fixes #329: query the database in chunks of 200

sharidas/core,pollopolea/core,bluelml/core,whitekiba/server,andreas-p/nextcloud-server,cernbox/core,Ardinis/server,pmattern/server,xx621998xx/server,owncloud/core,bluelml/core,IljaN/core,owncloud/core,jbicha/server,endsguy/server,IljaN/core,bluelml/core,andreas-p/nextcloud-server,jbicha/server,nextcloud/server,endsguy/server,pixelipo/server,andreas-p/nextcloud-server,sharidas/core,endsguy/server,pmattern/server,owncloud/core,bluelml/core,pmattern/server,IljaN/core,owncloud/core,cernbox/core,jbicha/server,whitekiba/server,cernbox/core,whitekiba/server,nextcloud/server,lrytz/core,pollopolea/core,pixelipo/server,endsguy/server,Ardinis/server,nextcloud/server,lrytz/core,Ardinis/server,phil-davis/core,lrytz/core,xx621998xx/server,Ardinis/server,michaelletzgus/nextcloud-server,whitekiba/server,sharidas/core,lrytz/core,cernbox/core,andreas-p/nextcloud-server,xx621998xx/server,pollopolea/core,jbicha/server,pixelipo/server,pollopolea/core,pollopolea/core,pmattern/server,sharidas/core,jbicha/server,pixelipo/server,owncloud/core,Ardinis/server,pmattern/server,bluelml/core,whitekiba/server,andreas-p/nextcloud-server,xx621998xx/server,IljaN/core,michaelletzgus/nextcloud-server,xx621998xx/server,IljaN/core,nextcloud/server,michaelletzgus/nextcloud-server,michaelletzgus/nextcloud-server,cernbox/core,endsguy/server,sharidas/core,lrytz/core,pixelipo/server