Fix issue causing transaction errors #23.