Fixes #2991: Service module pattern argument ignored.
Merge pull request #2992 from SirScott/service_pattern

Fixes #2991: Service module pattern argument ignored.