Bug fix for type and not existing node cond by Starwaster