The problem is it's not "Flex M". It's still a business class fare. Flex only exists for economy fares.
I've definitely bought P fares that had segments booked in M class on a DH4. But nothing even remotely recent. My last experience in 2019 credited at 100%.
It wouldn't be too difficult to fix the calculator, but we need to make sure we have the correct logic.