[sim] Fixes to make initial task extraction work.