bugfix: do not check twice the session

Signed-off-by: Lucian Cojocar <cojocar@gmail.com>
Acked-by: Calin Iorgulescu <calin.iorgulescu@gmail.com>