Glad you got it sorted!
There are lots of sub-optimal (posh way of saying nfu) caps out there.
There are several types of thermostat. You need an 88° C for an MPi. It is important, especially for injected Minis.
I prefer the ones with a jiggle pin. Fit new gaskets, too.