Sentence: Ann asked Mary what time the library closes, because she had forgotten.
 Reason: The 'she' refers to ann because the library closes, because she had forgotten Ann asked Mary what time. 
 Question: Is the above reasoning correct or wrong? 