Do not crash when deleting a database with no indicies