Fix broker id validation.