Fix incorrect session variable