Fix the logic on hours constraints when selecting day

Fix hours selection limits when selecting the same day, set no limits when selecting different days.