Bugs fixed in the leader session