Fix bracket issue that would prevent stats from getting recorded properly