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).
Doh! I thought I had fixed these, but I guess it didn't stick.  Fixed now.