Correct status counter of inactive tunnels
Make this function readble
Correct skipping of disabled tunnels