Fixed comparison in the keys