Fix misplaced session issue

Signed-off-by: root <root@ops.squiz.co.uk>