Cleaned-up population filter.