Minor bug involving the generation patterns.