Fixed bug with the 'last' pointer in mod/tell.c