Fixed limits bug on For.