I think this should be an explicit check against `None` to avoid weirdness if the list is empty.