Fix naive version comparison code (e.g. 2.15 > 2.8)