Fixed the return type on the new links_depth() function.