Fixes #2991: Service module pattern argument ignored.