Added pointer support to the filtering as well