Fix for undefined property and contact not being added to sub group
Merge pull request #112 from Kajakaran/master

Fix #110 and #111 for undefined property and contact not being added to sub group