Use a type that actually exists for checking the type code.
Authored by: hawk777 2014-12-28
Parent: [r78]
Child: [r80]