Fix two comparisons between a 32 bit register with a 16 bit error