Added parenthesis around parameter for substitution to avoid errors with
operators before negative values.