Bugfixes Dedimania and "/admin erasethis"

http://forum.maniaplanet.com/viewtopic.php?p=230796#p230796
http://forum.maniaplanet.com/viewtopic.php?p=230865#p230865