I'm in the quicksand

Fixed table and form SQL checks