Change how we work out if a pan is ok.