Fixed bug when adding historical summary keys for field values