Fixed underflow error in arithmetic stack operations