Real fix for intermine/intermine#320