Fixed a couple of incorrectly implemented isNamespaceEnforced() methods,
so that now many of the JavaScript UTs and ATs are running correctly
again.