Bug fix on Filter Class - Failed to filter boolean values