Minor - format code.
Fixing work edition (adding sedsion_id) see BT#8892