Fixed integrity errors in ProcessFeatureHistory