          (#{:before :after} direction)
          (integer? limit)
          (#{:recent-activity :recently-posted} sort-type)]}
+  (log-query-time "paginated-entries-by-board, start")
   (let [index-name (if (#{:draft :published} status) :status-board-uuid :board-uuid)
-        index-value (if (#{:draft :published} status) [[status (:uuid board)]] [(:uuid board)])]
-    (storage-db-common/read-paginated-entries conn table-name index-name index-value order start
-     direction limit sort-type common/interaction-table-name [board] nil nil list-comment-properties nil {:count count})))
+        index-value (if (#{:draft :published} status) [[status (:uuid board)]] [(:uuid board)])
+        result (storage-db-common/read-paginated-entries conn table-name index-name index-value order start
+                                                         direction limit sort-type common/interaction-table-name
+                                                         [board] nil nil list-comment-properties nil {:count count})]
+    (log-query-time "paginated-entries-by-board, finish")
+    result))
 
 (schema/defn ^:always-validate last-entry-of-board
   "

  {:pre [(db-common/conn? conn)
         (map? entry-props)]}
  (when-let [original-entry (get-entry conn uuid)]
    (let [authors (:author original-entry)
          ts (db-common/current-timestamp)
          publisher (lib-schema/author-for-user user)

         (#{:desc :asc} order)
         (#{:before :after} direction)
         (integer? limit)]}
  (log-query-time "list-entries-for-user-replies, start")
  (let [result (storage-db-common/read-paginated-entries-for-replies conn org-uuid allowed-boards user-id order start direction limit
                                                                     follow-data container-last-seen-at list-comment-properties
                                                                     {:count count :unseen unseen})]
    (log-query-time "list-entries-for-user-replies, finish")
    result))

;; ----- Entry Bookmarks manipulation -----

