I did a dummy booking using similar info. Also selected economy flex, also got into M class.
I think M class is in the economy flex basket for Doha departures.
Also the booking page is indeed different from the one shown in your screenshot.
But most likely the QAR 100 could be related to the stopover, combined with change of date, rather than M fare not qualifying for free rebooking.