Set search result field to null if it is empty