Fix incorrect variable being used again.