Fixed buggs related to getting id's from wikitext