implemented filtering of packages by type on destination/index