PIM-2287: Fix error in mass edit action