affinity group should not be undefined
Merge pull request #2 from acharyarajiv/sprint36

affinity group should not be undefined