Prevent upgrade when it's not necessary