fix(getChildren): If a node doesn't have any children, getChildren will fail with 'no node'. If we get an error from getChildren, don't attempt to lock and bubble up an error.