Fixed issue with mrf_insert being called unnecessarily.