Sentence: The dog chased the cat, which ran up a tree. It waited at the top.
 Reason: The 'It' refers to the cat because of its size and the fact that the cat is a large cat. 
 Question: Is the above reasoning correct or wrong? 