ob-core: fix bug when source block is at bob