Fixed bug where the to-date calculation for Friday was double counting on Saturday and Sunday night