MT#3855 Fix error on calling get_contract_rs

Edit: fix all occurences of this
(see 3855#c26595)