Fix for namespaces cache_size maintaining