Updated condition in hours view.