public static JSONArray jsonMultipleListFilter(String kind,
			String filterField1, String filterField2, String filterField3,
			String filterField4, String filterValue1, String filterValue2,
			String filterValue3, String filterValue4, String sortField,
			SortDirection sortDirection, final String returnField) {

		Query q = new Query(kind);

		if (filterField1 != null) {

			q.setFilter(new FilterPredicate(
					filterField1,
					com.google.appengine.api.datastore.Query.FilterOperator.EQUAL,
					filterValue1));
		}

		if (filterField2 != null) {

			q.setFilter(new FilterPredicate(
					filterField2,
					com.google.appengine.api.datastore.Query.FilterOperator.EQUAL,
					filterValue2));
		}

		if (filterField3 != null) {

			q.setFilter(new FilterPredicate(
					filterField3,
					com.google.appengine.api.datastore.Query.FilterOperator.EQUAL,
					filterValue3));
		}

		if (filterField4 != null) {

			q.setFilter(new FilterPredicate(
					filterField4,
					com.google.appengine.api.datastore.Query.FilterOperator.EQUAL,
					filterValue4));
		}

		jsonListSort(q, sortField, sortDirection);

		return jsonQuery(q, returnField);
	}