Fix filtering functions
Fix filtering functions

Ticket #891

ch1c4um/pfsense,ch1c4um/pfsense,brunostein/pfsense,ptorsten/pfsense,phil-davis/pfsense,pfsense/pfsense,NOYB/pfsense,NewEraCracker/pfsense,jxmx/pfsense,ptorsten/pfsense,dennypage/pfsense,NOYB/pfsense,dennypage/pfsense,phil-davis/pfsense,pfsense/pfsense,phil-davis/pfsense,dennypage/pfsense,brunostein/pfsense,jxmx/pfsense,BlackstarGroup/pfsense,NOYB/pfsense,brunostein/pfsense,jxmx/pfsense,dennypage/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense