                                                             :max-total-depth max-total-depth))
                         lexemes-before-phrases (lexemes-before-phrases total-depth max-total-depth)]
                     (cond (and lexemes-before-phrases
-                               (empty? filtered-lexical-complements)
+                               (empty? lexical-complements)
                                (= false (get-in spec [:phrasal] true)))
                           (log/warn (str "failed to generate any lexical complements with spec: "
                                          (strip-refs spec)))

                          (log/warn (str "failed to generate any phrasal complements with spec: "
                                         (strip-refs spec)))

                          (and (empty? filtered-lexical-complements)
                               (empty? phrasal-complements))

                          (let [message (str "add-complement-to-bolt: could generate neither phrasal "


                          lexemes-before-phrases
                          (take max-generated-complements
                                (lazy-cat lexical-complements phrasal-complements))
                          true
                          (do
                            (log/trace (str "successfully generated some complements for bolt:"
