Added processing of trivial subsets
Merge pull request #368 from ilysenkov:checkSubset-fix