Fixed maya procedural selection highlighting

For hierarchical procedurals, an object could get incorrectly unhighlighted if its parent had been highlighted, in certain situations. Just added a check to fix that