Fixing a small overlook, causes an error when applying query to admin search