[Fix] Comaprison of type names