fixes for getSubset() (#1979)