Fix issue #1: Loading directly from /sessions/:id or /sessions throws errors