Sometimes, we want only the task to be exported to PDFand not the sub-task. Only the un-folded task should appear in the PDF and not the folded task.