Firmware version check error

Firmware version check fails if it contains 3 digits ie. 5.2.1