Fix is given for getting clientid as zero

Fix is given for getting clientid as zero in plan activity.