Adding nice error message for find-in-reference.