Fix comparison between signed/unsigned