PIM-2016 Improve mass action perf

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Unit test passes: yes
Specs passes: yes
Replaced unit test classes removed: yes
Behat scenario passes: yes
Checkstyle issues: no
ChangeLog updated: no
Documentation PR: ~
Fixes the following jira:
 - PIM-2016 (partially)