Minor correction to getStats