This is my code:
require 'fbe/fb'
fb = Factbase.new
fb = Factbase::IndexedFactbase.new(fb) # here!
fb.import(File.binread('1.fb'))
puts fb.query("(and (eq repository 798641472) (unique issue))").each.to_a.count
If I comment out one line, I get 305 as an output.
With this line I get 59 as an output.
The 1.fb file is here: https://public.zerocracy.com/1.fb
This most probably is related to the changes we've made in #487