Fix a bug in detecting whether a task is on server