DB showing incorrect version and won't allow upgrade