fix counting of invalid version updates