Bug fix for saveDate function

Added clause for dictionaries with no data