Fix bug with deleting objects from to many relationship