Fixed comparison and assignment operators