Small fix to sessions