Added debugging, catch instance where invalid deviceID is being sent