Added check for old transactions to client script.
Merge branch 'master' into tests