Fix a base-integration bug in the MetadataCompleter