Fixed that issue when namespace is deeper than available.

Fixed issue with finding wrong translation or throwing warning instead of creating default translation in two special cases:
1) When namespace is deeper than avaiable, but there is same key in available shorter namespace.
2) When there is a key with same name as namespace last part.