I missed one corner case for histograms with no statistics, merging crashed when source errors were empty and destination errors non-empty. Added unit test for this case, fixed the issue by adding protection.
Closes ATR-20585