fix filtering
Merge pull request #78 from birdage/fix_map_filtering

fix filtering