findFreeTimes bug fix