Corrected comparison operators for version check