Fixed version check.

.