[BUGFIX] Direct indexing of nodes broken

The fix in pull request 25 broke direct indexing (that is, indexing from
the live workspace using node index:build).