Small bug fix for variance tracking