Search for refs at the top level only