Fixed comparison bug.