Fix bug where the end date for a new session wouldn't be saved