pushed in db query that breaks on empty databases (ie all tests)
pushed in db query that breaks on empty databases (ie all tests)

tschmorleiz/amcat,amcat/amcat,amcat/amcat,amcat/amcat,tschmorleiz/amcat,tschmorleiz/amcat,amcat/amcat,amcat/amcat,tschmorleiz/amcat,amcat/amcat,tschmorleiz/amcat