Great catch on the `isAdvertising` check here. I don't even know how this worked before...