Call default_task_type() if value is not defined