Fixed a get_filter call bug

get_filter was comparing an integer return value to a string
and hence was failing