index() returning last_seq