Fixed test on value of 'ot' that would cause an old formatting procedure to be used. Removed an access to bibfmt and used format_record() instead.
Fixed test on value of 'ot' that would cause an old formatting procedure
to be used.
Removed an access to bibfmt and used format_record() instead.

inveniosoftware/invenio-search,inveniosoftware/invenio-search,tiborsimko/invenio-search,tiborsimko/invenio-records,tiborsimko/invenio-records,inveniosoftware/invenio-records,inveniosoftware/invenio-records,tiborsimko/invenio-search