Fixed the stack level too deep upon saving a parent record with an associated child record where in the parent the child association is an `inverse_of` the parent.