Patterns should get deleted with the last pattern instance. Currently there may be patterns with no instance.
Patterns should get deleted with the last pattern instance. Currently there may be patterns with no instance.