Handle multiple states sharing the same key