Method: Fix signed comparison

Method: Fixed signed comparison