952728 - fixing sync status reporting issue

if a sync task had been moved from the task
queue to the sync history queue, the structure
and status codes are different.  So let us
convert one to the other since we treat them the same
anyways.