Fix RelationCreateCommand's undo()