How do you solve the "Key not in Dictionary" error?