Does this work for signal? If the existing value had no entry, it would fallback to the default of 0. But if we get a new entry with a signal of -70, it should win, as it's an actual measurement. In the other cases higher values are better and the default is a low value. For signal the default value is unfortunately larger than all the good values. So we need to add a guard against `existing['signal'] != 0`.