Refactor rt_handle_member_record