Corrected problem with incorrect data type on Query By Device for subscription service