Better cope with null values in the segments_used table.