Bug fixed with ambigues keys. Log added for ambigues id's.