[scheduling] Fix zero capacity on arc for scheduled task.