Fix support for pubsub patterns.
Merge pull request #51 from aaugustin/master

Fix support for pubsub patterns.