Fixes to TopJet groomed mass calculation and mistag rate