fix sentry query
Merge pull request #6041 from guardian/fix-sentry-query

fix sentry query