In @for directives, never use to, always use through instead. Many developers do not even know Sass offers this variation; using it might lead to confusion.
@for
to
through
@for $i from 1 to 10 { ... }
@for $i from 1 through 10 { ... }