Fixes relations exporting. refs #77