Fixes version checking