VE-1704: Change ancestor selector to properly scope