Fixed History Edit wher long not missing and insert and update context was wrong.
#MBL-10244 # MBL-10243