Fixing task name display logic.