* Fix consistency issuesin relation onDelete behavior while creating a new relation * Fix according to review