You need to be looking at effective top tube length, what the top tube would be if it were horizontal.

Remember mtn bikes do not have to fit to the mm the way a road bike should, at least assuming you're not going to plant your butt on it and ride it like a road bike. You move around so much more and it is such a more dynamic activity that you won't notice the 1 mm differences.