Ensuring maxRows is always defined

Think this should be in keeping with existing code style for setting (and ensuring) valid values for options