Change for cases when device id meta is array of device ids