Fixed bugs in ParseRPN.