fix adjust_name_for_index() for PRETTY_URLS

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
s/indexes/indices/

Signed-off-by: Chris Warrick <kwpolska@gmail.com>