Fixed bug where last navigation uri pointed to the provious, and added methods to retrieve the previous correctly