This is sorted for the next release. I think when the active add-on cache was being built it could be built using cached entities. So, in this case, the XF add-on entity is used earlier in the request, gets cached, and the old version details get saved to the add-on cache. Sorted now, thanks.