Fix recognition database restoring on startup.