This is a remedy for what's essentially an awful data types value mismatch.
Make segment options more robust.
Actually, crop to 10 and warn.