Fixed error in db transactions
Merge branch 'master' of https://github.com/webpy/webpy