Fixes SqlDatabase#createSavedObjectWithResultSet triggering reference resolves via State#putByPath when the objects had any metric fields.