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).
Here too anyways, I would rename the method to something `assert*` trying to explain what it checks.