Remove redundant call to isGenerationPending