Make index smart about missing node properties. Adds a testcase for it.