Fixing version check.

Change-Id: Ie26e70e431bb9b32f708aaee0c6489fc615fa03d