Checking if the author for the sessions match instead of comparing the entire session.