Flip flopped the dates
Sorry. Needed to add adjustment for dates without times