Fixed gem issue

Silly brain moment with brain not thinking (0 based arrays)