Only strip closing parenthesis if there is not an open