Thanks for merging to master.
As far as the problem, I do see it as a bug fix. Currently if you choose to cache certificates, validation will fail on any cached certificate (at least in cases where an intermediary cert is required, which is most if not all cases in Canada). The workaround is to disable caching, which is a very high cost workaround.