Fix VTE detection