Added ancestors functionality to prevent VAT duplication validation errors for contacts within the same hierarchy.