PIM-2368 : fix mass action for MongoDB