Fix wallcycle counting with md-vv, sd and sd2