should not require subindex of 0 to be present for index with multiple subindices
Currently if there is a record with multiple sub-records, objdict-generate expects the first one to be 0 and the second to be 1. This is really not necessary, and it causes failures if there is nothing with a subindex of 0. This could be fixed by somehow using "first seen" and "second seen".