Fix potentially returning the wrong RC.