When deleting a record, delete any defined relationships too