Fixes for nemm_memory statistics