In the given sentence, past perfect tense needs to be used as this tense is used when you’re talking about some point in the past and want a reference of an event that happened even earlier, that is, to convey a clear sequence of the events. Hence, ‘was rescuing’ must be replaced with ‘had rescued’. Thus, option (c) is correct