BibUpload: FMT regression test case fix

* Fixes FMT regression test case that was failing randomly
  due to incomplete SQL comparison query.  (closes #1152)

Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>