Allow search(field, value) for numerical values, too

calling search(field, value) with a numerical value would do nothing, because it would only accept string values.