0.7.0 breaks datomic query

Hi. 0.7.0 breaks the datomic query pasted below (it does not identify scheduled events). I have reported this as a bug, and wonโ€™t be upgrading till its fixed, as my workflow depends heavily on this query.

#+BEGIN_QUERY
{:title [:h3 โ€œ:calendar: shortrange TODOs (next 7 days, scheduled or deadline)โ€]
:query [:find (pull ?block [*])
:in $ ?start ?next
:where
(or
[?block :block/scheduled ?d]
[?block :block/deadline ?d])
[(>= ?d ?start)]
[(<= ?d ?next)]]
:result-transform (fn [result]
(sort-by (fn [d]
(get d :block/scheduled) (get d :block/scheduled) ) result))
:inputs [:0d-after :7d-after]
:collapsed? false}
#+END_QUERY

Okay - the recent nightly build fixes this. If you are having the problems I am having you could try this build. Thanks to the Logseq team for getting on top of this quickly!