Handle correctly component state transitions when saving histogram snapshots.
Follows up on !911 (merged) and fixes the problem in https://lblogbook.cern.ch/HLT/478
/cc @clemenci
Edited by Rosen Matev
Follows up on !911 (merged) and fixes the problem in https://lblogbook.cern.ch/HLT/478
/cc @clemenci