fix for case when weekends contain some of holidays