Fixed a problem in transaction polling.