Fix regression in performance.