Attempted fix to http://jira.diamond.ac.uk/browse/DAWNSCI-96