Fix nil order reference in refirect