Fix for rpg_get_fact call