This fixes a regression in the previous snapshot that could cause a full browser freeze.