Fix more crappy rlm_rest code...