use lowercase settings in deallocators
exclude all zero replica indices

on primaries deallocation