Fixed bug where deleting a new embedded record would make trouble when it's also new parent would be rolled back.