Fixes 1440 with proper iteration of dict

No match.