Solved other bug into IsWorkingDay function

The function DayOfWeek was missing.