Followup to PR #16762

Remove chain from parameters, it's no longer needed since `chain` and `i` are being passed via `next_reflection`

Change name of `reflection` to `last_reflection` because of shadow variable warning.

Followup to PR #16762 

cc/ @matthewd