(BugId:98744) Fix allowing duplicate number categories.

https://wikia.fogbugz.com/default.asp?98744

Category names were being parsed as integers to determine if they could be used as an index. This change makes it so only numbers passed in explicitly will be treated this way (otherwise, assume they should be string matched).