Fix a layout problem.
Fix a problem when using the create operation on a model where the primary key is also a foreign key.