add maxResults parameter to workflow instance query