fixing error on export of cluster with no tables