Fixed crash in ThriftBroker when passing in bad object ID