Fixes getState error in Relay.cpp