Fix bug in subtable iteration which meant non-symmetric subtables
restrictions were incorrect