Sentence: Adam can't leave work here until Bob arrives to replace him. If Bob had  left home for work on time, he would be here by this time.
 Reason: The 'he' refers to bob because Adam can't leave work here until Bob arrives to replace him. If Bob had left home for work on time, he would be gone by this time. 
 Question: Is the above reasoning correct or wrong? 