xml_remove() didn't convert nicknames to lowercase so it caused some confusing errors sometimes. This should close #395.