Fixing some more bugs with phpmyadmin