Supporting toArray method when cursor is found during findUsers retrieval in aclAction.