Fixed Error when the week has not five days (e.g christmas holidays).
New release Version.