Foreign key fields must be ordered the same as the unique index fields for some DBMS
Fixed incorrect assertion parameters for some Shapes