fixed bug when choosing not sent sessions

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>