Fixed another source of redundant keys in shared state.