Fix conditional for updating last seen time when dealing with null names.
Adding the rest of the files from the previous commit.