ob-core: Fix inserting improper lists