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).
I would consider renaming the `check*` methods to `assert*` since they contain assertions and that's the convention we generally use