Correct reference to wrong entity_check, when aggregating comparisons of state record fields to item record fields.