Fix API::MergeRequest

Fixes #5144 Refs #4996