Fixed bug on finding weekdays.