Fixed: admin search not working and generating an error when doing admin search (now works properly)