In the example, for actions already done, using the infinitive Passé: "C'était très difficile, merci de m'avoir aidée." It appears the usage demands an agreement (if the speaker in the case was female.) Would it always be the case that agreement should be made?