Fixed bugs with the bedTime and wakeTime, empty Medications, and lack of wakeTime field.