sentence1: But for Miss Tuppence's fortunate change of plan, she would have been far away from the flat when we arrived there.
sentence2: Thanks to the fortunate change of plan, Miss Tuppence would have been very near to us.