GROOVY-6665: maxRows in Groovy.sql.Sql goes one too far