A strings.LastIndex call check was meant to be `-1` and got clumsy-fingered to `-11`. This causes panics with API clients.