Fix/group error message not displayed correctly

Fixes https://www.openproject.org/work_packages/2701