Change the version comparison to be the correct way round!

refs #7284