Fix parsing of index definitions.

Bug was introduced in 0f2f4a13df78211c65adfacd85cfae8bf33a8ff6 and prevents non-unique index lines from being detected correctly.