Fixed comparison error