Fix the uid pattern for search