Fix a few bugs. Add support for strings as keys for the day array.