Changed a couple of calls to a dictionary from valueForKey: to objectForKey:
For some reason, these would sometimes throw. Maybe the dictionary has its own key for some property.