[#76111128] Bugfix to selector hierarchy.