Fixed version check on UI.