Fix multiple registries in the lookup.