Bugfix on retrieving single task id.