Minor syntax changes to prevent more mysql anger.

Not sure if this is necessary, but doing it anyway to make sure.