handle NULL max.print option when enforcing maximum