Fix bug in chain_interface::to_ugly_asset(); resolves #1143