Slight changes in GetAvailableSlots