Fixed comment typo
Added out of range error handling (i.e. ignoring)