Don't persist non new child docs with nil inverse.

[ fix #2733 ]