                       entity
                       key
                       record-or-key-value
-                      (merge opts {:limit 1}))
-            record (s/take! select-s)]
-       (return record)))))
+                      (merge opts {:limit 1}))]
+       (s/take! select-s)))))
 
 (defn select-one-instance
   "select a single record, unless the record is already a record retrieved

                   key
                   record-or-key-values
                   opts)]
       (return
        (s/stream->seq smb-s))))))

  ([^ModelSession session ^Entity entity key record-or-key-values opts]
   (->> (or record-or-key-values '())
        (s/map (fn [record-or-key-value]
                 (select-one session entity key record-or-key-value opts)))
        (s/realize-each)
        return)))

(defn select-many
