Fix issue: setMaxResults