Fixed small bug in counting successfully recorded matches