Changed calculated_remaining_hours calculation