fixing bug in query where device doesn't want to return udid