Sentence: Patting her back, the woman smiled at the girl.
 Reason: The 'her' refers to the girl because she was the first person to see the girl's body. 
 Question: Is the above reasoning correct or wrong? 