Rename first-rindex to last-index