MYSQL acting up on duplicate errors. Derp.