Fixed bug where type handling did not clear handling byte flag.