Hack to fix a problem where cardinality exception is thrown

This is a total hack, but goo throws an exception otherwise