Fixes crash if variant_property_id isn’t a number.