Fixed relaying-related KeyError