minor fix on if
Merge branch 'master' of github.com:derwentx/Transactions