Add diagnostic message if key isn't found in state map