Fixed instructions without any dependencies not being executed.
Move storing reads before task failure can occur.
Fixed collect introducing lists into definition resolution tasks.
Fixed lookup mapping over a non-list.