added argument empty.ok to *Subset functions