P2P: Optimize scan frequencies list when re-joining a persistent group