Converting the values to Array for the terms search.