Restricting version comparisons so they only happen in one direction.