Fixed error in CBLNestedModel where documentObject was not being initialized correctly.