Fix bug with uninitialized counter variable in first report message