Fix beacons not being sent correctly.