Avoid non-fatal server-side assertions from selection tests (#13334)

Change-Id: I44b00f1d41b763bfbcaa23eea80ebdb1925ea620