Fix NamespaceContext for multiple prefixes