Fixed it so search can be the name of a field or a searched value now.