Working around this issue on the server-side, defaulting to the device the user has registered if we get None.
Working around this issue on the server-side, defaulting to the device the user has registered if we get None.