Fix PouchService. Thanks to @qwertmax!