1004248 -  Fixed a get_filter call bug

get_filter was comparing an integer return value to a string
and hence was failing
Merge pull request #91 from parthaa/1004248

 Fixed a get_filter call bug