Modified rmg_process: check for reentrancy and don't call rmg_filterest.