BZ-1168298 - Locked ParameterMap Error during execution of REST query operations

(cherry picked from commit 9b3106ef75d34bf779e5551b008f38b7126c0a1f)