Optimation of queryDeviceAttributeEvents