Fix extension version comparison