Fixed issue where last viewed would not work when not connected to the internet