added some checks, which also don't work

I'm guessing this is a myPhpAdmin issue; from what I've read, I also
need to explicitly define an index of sorts on some of the tables.