Use correct version comparison