Fix Python 3 issue in .collections.lists.lastindex