Fixed the CreateRelationCommand.