fix db queries
fix db queries

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