Fixes #5322: Update 'hasPolicyServers' when uodate dynamic groups

It was introduced only in 3.0 no ? this is targeted for 2.10. 

Should I:
* Merge it ant make another PR in 3.0?
* Rebase it in 3.0 ?