Now we check if filterParams.studies is an array or not.