Made r_sanity_check use the ::ql:: prefix on runtime_sanity_check.