LTSCLASREQ-120 - Moved substitute session function into own function, fixed broken instance.