Fix rebuild index command.