Bugfixes in jnc.py - contributed by tail-f customer - and bugfixes in 1-interfaces example