Whoops, locals might not always be the first ref in the list.