BestExporter cherry-pick request for r1.9: Only calls compare function if values were read from event file