Fix NEW_DEVICE_RELATIONS.