Fix incorrect argument not being detected regression.