Issue #232; #235

@crankycoder r? 

Yes, it's sort of a daily thing. I'll try to stop, but, I may need professional help at this point.

What? I meant the code. 

The other thing is way beyond help.
I'm guessing deviceids are like fingerprints (or snowflakes) and the likelihood of there being multiples with the same value are unlikely. Any chance we'd want to do some funky `LIMIT 1;" on the end of this bad boy?

Of course, even if there were two devices which miraculously shared a device ID, I guess this would just randomly choose one and delete it and hope it was the correct device (LIMIT or not).