                     (let [profile (assoc profile :conservatories (vec conservatories))]
                       :div
                       (for [c conservatories]
-                        (let [keys [:conservatories (.indexOf (to-array conservatories) c)]]
-                          (bs/panel
-                           (panel-heading property_details owner profile "Conservatory" {:add-btn false :edit-btn true} keys)
-                           (pf/conservatory owner profile keys)))))
+                        (when (seq c)
+                          (let [keys [:conservatories (.indexOf (to-array conservatories) c)]]
+                            (bs/panel
+                             (panel-heading property_details owner profile "Conservatory" {:add-btn false :edit-btn true} keys)
+                             (pf/conservatory owner profile keys))))))
                     [:p "No conservatories."]))))])])))))
 
 (defn extensions-row [property_details]

      (render-state [_ state]
        (html
         [:div.col-md-12
          (for [profile profiles]
            (let [keys [:profile_data]]
              [:div {:class (profile-column-width)}
               (bs/panel
                (panel-heading property_details owner profile "Measurements" {:add-btn false :edit-btn true} keys)
                (pf/measurements owner profile keys))]))])))))

(defn energy-row [property_details]
  (fn [profiles owner]

      (render-state [_ state]
        (html
         [:div.col-md-12
          (let [display? (should-show? owner (mapv #(get % :profile_data) profiles)
                                       [:moisture_condensation_mould_strategy
                                        :appliances_strategy
                                        :cellar_basement_issues])]
            (for [profile profiles]
              (let [keys [:profile_data]]
                [:div {:class (profile-column-width)}
                 (bs/panel
                  (panel-heading property_details owner profile "Issues" {:add-btn false :edit-btn true} keys)
                  (when display?
                    (pf/issues owner profile keys)))])))])))))

(defn lessons-learnt-row [property_details]
  (fn [profiles owner]
