The M671 command being in the wrong place was indeed the issue. I also had to adjust the maximum allowable correction to 2mm. Thanks again for pointing that, it would have taken me a while to find it.
Best posts made by Q2101
-
RE: G32 error while bed leveling