* Compute next index for misbehaviour reporting correctly. * Merge branch 'master' into td-graph-improvements