Fix API::MergeRequest

Fixes #5144 Refs #4996
Merge pull request #5145 from hiroponz/fix-api-merge-request

Fix API::MergeRequest