Small fix bug for comparison operators