fixed nearCacheConfig picking
Merge pull request #2192 from gurbuzali/near-cache-config-fix/3.3

fixed nearCacheConfig picking