Don't crash when generating randbooks