Exclude xss filtering for boolean, function, and number types