Fixed subtasks not exported properly.