Fix double escaping when filters enabled