Fix fetch_matchstats function
Fixed bug in fetch_matchfacts