Encoding fix for all filters