Remove unfinished parentheses/brackets too