[OEM-117] bugfix for generateSessions command