Defer exception when transaction list is None.

Just small fix.