Make getAvailabilityDay logic independent of end date

Previously with no end date we just got 1 back, this makes it smarter!