Meets #7236: Filtering for assignee's role returns wrong results

[``* `#7236` Filtering for assignee's role returns wrong results``](https://www.openproject.org/work_packages/7236)