Fixed misstype in index request handler.