Fixed SM version detection bug - wasn't going to hit us until v2.0, but anyway...