Add assert in make_node
Merge pull request #1284 from nouiz/assert

Add assert in make_node