Fixed bug when hitting a minus sign after a close parenthesis.