Thank you so much for posting this. It works great, however, the pagination doesn’t work on my site when the distance from me sort option is applied. The first page comes up, but clicking on the next page always shows ‘no members found’. I’m using the custom community theme. Do you have any idea what the issue is or how I might work around it?