Honestly, this kind of stuff should be mentioned in the docs 66
Current example of storing the best model in the doc will lead to exactly this kind of bugs. And it happened already. We have been using the overfitted model in prod for months