Fix last remaining cleanup bug (remove deleted known_databases)