fixed matching a selector with classname to a node with no classname