Fixed comparison operator