Fix for empty databases, fixes #1141
Fix for empty databases, fixes #1141

GeoffreyDijkstra/spotweb,isuftin/spotweb-1,GeoffreyDijkstra/spotweb,tswestendorp/spotweb,Blauwbek/spotweb,riksmith/Spotweb,mesa57/spotweb,isuftin/spotweb-1,LeeThompson/spotweb,riksmith/Spotweb,gijsroge/spotweb,Spotweb/Spotweb,the-darkvoid/spotweb,Spotweb/Spotweb,LeeThompson/spotweb,rodikal/Spotweb,rodikal/Spotweb,tswestendorp/spotweb,Blauwbek/spotweb,mbirth/spotweb,mesa57/spotweb,the-darkvoid/spotweb,mbirth/spotweb,Blauwbek/spotweb,gijsroge/spotweb