Added bugfix for issue #194 (coil).