make sure selection calls encode members and levels consistently, same in backend
Merge branch 'master' into 2.5.x