*applyFilter* is called by *selectRestriction*