independent queries for types in queryDeviceAttributeEvents
small fix for queryDeviceAttributeEvents