Fix session extra fields - refs BT#9089
Fix type when inserting session extra field - refs BT#9089