convert: iterate over the right items (fix #439)