Fix row count logic when max rows isn't configured; make default rowcount config mandatory