add hints to replace HAVING by WHERE clauses
Merge commit 'github/testing' into beta