Fix a crash when an empty Dictionary was constructed.