Sentence: The sun was covered by a thick cloud all morning, but luckily, by the time the picnic started, it was gone.
 Reason: The 'it' refers to the cloud because We speak of the sun coming out, not clouds. It would not usually be considered lucky for clouds to appear at a picnic. 
 Question: Is the above reasoning correct or wrong? 