Handling id not found for label search