Added validation of the task id for deadline command