Remove up to 3 levels of menu if required