fixed a bug in getExistingSubsets/Supersets and containsSubset/Superset when the graph is empty