[eluser]OverZealous[/eluser] @cahva
Seeing as I can't seem to replicate it here (I even switched to MySQL to try), I can't really do much to change it. I don't want to change the example code for now, because I think the code I have is correct. There's nothing wrong in adding the extra check, it just shouldn't be necessary.
I'll keep an eye on it, though, to see if I can figure out how it is happening.