Extended /names endpoint to allow searching for rejected names as well