Fixes SqlDatabase#createSavedObjectWithResultSet triggering reference resolves via State#putByPath when the objects had any metric fields.
Merge branch 'release/2.1'