Bug fix for when [dbname].json does not exist.