Fix "UnboundLocalError: local variable 'nanode_time' referenced before assignment". Fixes #53