Resolve issue with saving child objects with a transaction.