Ensure min and max finding works for strings.