Fixed comparison between hashabledict and dict.