The global error count needs to be reset before fetch_results