                            #(reduce - 0 (map metric (val %)))
                            (group-by :table all-regions)))
 
-        ;; Tables to show
-        visible-tables (set (if (seq tables) tables all-tables))
-
         ;; Filter regions by table name
         visible-regions (map byte-buffers->str
-                             (filter #(visible-tables (:table %)) all-regions))
+                             (if (seq tables)
+                               (let [tables (set tables)]
+                                 (filter #(tables (:table %)) all-regions))
+                               all-regions))
 
         ;; Group by server, sort the pairs, build a list of maps with :name and :regions
         grouped (map #(zipmap [:name :regions] %)

                          new-val (metric region)
                          old-val (or (get-in old-regions [name metric]) new-val)]
                      (/ (- new-val old-val) interval 0.001))))
        new-regions (pmap #(assoc
                             %
                             :requests-rate       (diff-fn % :requests)
                             :write-requests-rate (diff-fn % :write-requests)
                             :read-requests-rate  (diff-fn % :read-requests)
                             :compaction          ((juxt :compacted-kvs :total-compacting-kvs) %))
                          new-regions)
        new-regions (pmap #(assoc % :html (build-region-popover %)) new-regions)
        group-by-server (group-by :server new-regions)
        servers (into {} (for [[k v] servers]
                           (let [v (merge v (calculate-locality (group-by-server k)))]

  "Builds a small HTML snippet for each server to be used in bootstrap popover"
  [props]
  (build-popover
    (str "<h3>" (escape-html (:name props)) "</h3>")
    [:regions
     :store-files
     :store-file-size-mb
