Backporting fix for problem which caused multiple users to be passed in the params of forms.
Changed paths: