Fix possible XSS issue with chat filters