Ensure that related_merge_requests api call returns merge requests in the correct scope Closes #55376 See merge request gitlab-org/gitlab-ce!25222