Fix clean rule and unsigned/signed comparison