Fix rehashing always failing when <limits:maxline> is set.