Revert "Changed type of QueryParameters collection from ArrayList<QueryParameter> to Collection<QueryParameter>"

This reverts commit 4b7c0219977345fefbeacf24ff966aeb5172b124.