Fixed useless or duplicated IS_INTERNED() checks