Added quotereplacement to filtering.