          [:div.card.insights-metadata
           [:dl
            [:dt "median queue"]
-           [:dd (datetime/as-duration (insights/median (map :queued_time_millis chartable-builds)))]]]
+           [:dd (datetime/as-duration (insights/median (map :queued_time_millis bar-chart-builds)))]]]
          [:div.card.insights-metadata
           [:dl
            [:dt "median build"]
-           [:dd (datetime/as-duration (insights/median (map :build_time_millis chartable-builds)))]]]
+           [:dd (datetime/as-duration (insights/median (map :build_time_millis bar-chart-builds)))]]]
          [:div.card.insights-metadata
           [:dl
            [:dt "parallelism"]

           [:dt "last build"]
           [:dd (om/build common/updating-duration
                          {:start (->> chartable-builds
                                       reverse
                                       (filter :start_time)
                                       first
                                       :start_time)}

                                                         (filter #(and (= (:reponame %) (:repo navigation-data))
                                                                       (= (:username %) (:org navigation-data))))
                                                         first)
        chartable-builds (some->> (:recent-builds project)
                                  (filter insights/build-chartable?))
        bar-chart-builds (->> chartable-builds
                              (take (:max-bars build-time-bar-chart-plot-info))
                              (map insights/add-queued-time))]
    (html
     (if (nil? chartable-builds)
       ;; Loading...
