Make getAvailabilityDay logic independent of end date

Previously with no end date we just got 1 back, this makes it smarter!
Changed to ceil(), 1 + was from the older logic.