Fix for saving schedule events with 0