improved logic to handle subfacet grayout