Bug fix for https://github.com/openphacts/GLOBAL/issues/131