Fix assertion error for multiple nameless fks or indices
(non type-safe equality caught us)
Merge pull request #747 from slick/tmp/fixFkConsistencyCheck

Fix assertion error for multiple nameless fks or indices