Change the retention query.
Merge pull request #388 from nZEDb/dev

Change the retention query.