Fix rmr_call() parameter checking bug