This is an easy trap to fall into as some of AF's cheaper economy fare classes do not (and have not for a while now) receive any FF/MQM credit on DL. This issue can be avoided by booking the AF segments as a codeshare through DL, which will assign you a DL fare class (usually L/U/T) that will definitely earn FF/MQM miles.