fix libis/Omeka#295
fix libis/Omeka#289