Check if node exists (#93)

Fix #93