PIM-1911 : only add grid filter if the related attribute is configured
for