Subchain fix

See Issue #27