Fixed pending session deletion