Fixed Version check.

Signed-off-by: King Lemming <kinglemming@gmail.com>