Forum:Exclude subcategories from random search

When using "Special:Randomincategory/", is there a way to exclude subcategories? It's a bit annoying when you click on the Random Unit button (this is the Total Annihilation Wiki I'm talking about) and it directs you to a category page rather than an article. It's using the Total Annihilation Units category, which contains every unit article created on there, but it also has subcategories which are sometimes linked to...

12:32, August 5, 2012 (UTC)