make the pending connections query consistent between mod/ping and mod/connections