Fix filter with pattern