Ensuring that an array is passed when using the terms search.