incremented pattern index so multiple patterns will render.

This fixed multiple patterns for my project.