Fix issue with duplicated profiles tag