PIM-2221 Overwrite entities collection if it's empty