Added support for the removal of keys to ShardPreferenceActions