Hi Lori/Prabash,
I tried the solution same as Prabash suggested.(Creating a property file to store group names.Then compare the results with it to get the correct group name).
Am able to get the correct group names now.
Thanks for the suggestions.
Thanks,
Anuradha