use _build_filters function instead of specifying request params manuall...

...y
`_build_parameters` use 1-based indexing, but previously it used 0-based indexing. In any case, I think 1-based indexing is something we should be using anyway in this case, so this change should be fine.