Just realised, the date is supposed to be on session, not messages
Corrected the date on session creation