Fix switching to syntax validate tab