HSHARDS-70 session and ssf are dragged from if statements