Fixed bug with Singleton Pattern Matcher