Fixes search fields for resource admins

The searches were failing because they were trying to do
relatedmodel__icontains. Fixes this by replacing searches for
relatedmodel with searches for relatedmodel__textfield.