fixes intermine/intermine#338