Fix handling of &, <, > characters in scripts/filter names (#1489208)