Make sure search_types are unqiue in json tree.