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