Fixed issue #91.
Merge pull request #94 from rdnelson/halt_bug

Fixed issue #91.