Fix bug in initial package filter.