Fix version checking for two-diget patch versions