BUGFIX: now, subpackages can be filtered out as well.