Categorize invalid argument errors to approx_percentile
Fix parsing and formatting of sign expressions