Removed recursive call in _load_metadata_for_topics