Assert the variables are an array. Angular query string builder doesn't create a real array, so after page refresh, the query breaks