fix applying filters to functions w/ & w/o dotkeys. fixes gh-365