PIM-1983 : remove useless array_unique in getExpectedAttributes