Let me quote the actual research at https://www.nature.com/articles/s41467-023-38626-y :
"subjects with higher PMAT24_A_CR (fluid intelligence) made fewer mistakes, but were slower"
Yes, intelligent people took longer to solve hard problems. But they made fewer mistakes. Getting things right on the 1st try might be much faster than needing a 2nd attempt, even if the 1st try takes 20% longer.