PIM-2589 : fix the attribute group validation