Fix target names when no results