Made parseDiscoveries act more rationally towards oldRepo