Fix crash when a message isn't given a timestamp.