That's all it was. I deleted both deploy and retract probe files from the SD and problem solved.
Thanks so much for that dc42. Because I was using the IR probe I never even looked at the deploy or retract so couldn't work out where the command to move outside of the soft limits was coming from and I never read anywhere in the G30 or G28 codes about deploying or retracting.
Thanks mate