CheckIO: fixed handling of unknown types. Ticket #5051