Fixed more Python 2.6 and Decimal problems