This avoids sending queries to backends that aren't even remotely able to provide a meaningful response.