Fix optional render of type in header