Fix upgrade logic to check for major version bump.

I had not noticed this since I was only testing using bwc tests, which only go back to ES 1.1 (which is still lucene 4.x).
leftover?