Fix possible IndexArrayOutOfBounds exception.

A bug fix to prevent a possible exception when reading Goby alignments (reported by two independent users).