Removed fragile SQL code. Thanks to Gregory Favre (EPFL).
Removed fragile SQL code. Thanks to Gregory Favre (EPFL).

inveniosoftware/invenio,inveniosoftware/invenio,tiborsimko/invenio,tiborsimko/invenio