create node now works as expected with "before" and "after" positions - close #476