Fixed a bug where a getNum wasn't setting idType as an int.