sessions was returning 256 incorrectly.
Merge branch 'stack-512-bug'

* stack-512-bug:
  sessions was returning 256 incorrectly.