Bugfix/pim 1244

```
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Unit test passes: yes
Behat scenarios passes: yes
Checkstyle issues: no
Documentation PR: 
Fixes the following jira:
 - PIM-1244
```