Fixed a bug with the creation of current session json: the last group was not included