Fix a bug where stack sessions were not being recognised as such
Merge branch 'session_stack_type'

* session_stack_type:
  Fix a bug where stack sessions were not being recognised as such