Fixed checking on wrong dict