* Fixed an issue with cyclic foreign keys.
* Fixed an issue with the composite primary_key argument adding incorrect commas on original primaries.