fix DirectRegionFilter: don't fail when the function is not enabled
Merge pull request #6 from felixonmars/3.0

fix DirectRegionFilter: don't fail when the function is not enabled