Correct detection of unsigned types