Fixed boolean logic for determining if hours or days present.