modify query criteria to exclude 'closed' status