 			if @isSuperNode
 				callback?(false)
 				return
+
 			console.log 'sending parent request to ' + peer.id
-			peer.query('peer.requestAdoption', @id, (accepted) =>
-				unless accepted?
+			peer.query('peer.requestAdoption', @id, ( accepted ) =>
+				unless accepted
 					callback?(false)
+
 				if accepted and not @isSuperNode
 					console.log 'parent request accepted'
 					if @_parent?


				# Else, first connect, then set as parent.
				else
					peer = @connect(superNode.id, ( ) =>
						console.log peer
						@setParent(peer, ( accepted ) =>
							if accepted
								@trigger('joined')

			if @isSuperNode is superNode
				return

			console.log "Supernode: #{superNode} and having token", @token?
			@isSuperNode = superNode

