Fix version comparison error