Fixed using the proper lastAccessTime variable