Fixes issue with ng names duplicates

Fixes: bug #1202732

Change-Id: I105812e4dd01525a0499c4085568ee8e5c13ad3a
Merge "Fixes issue with ng names duplicates"