Make :only work with namespaces too.