Don't use a named return in ratFromIndex().