Fixed the occasional ScalaCheck StackOverflow error by limiting the depth