set VECTOR_LAYERS_QUERY_MODE to 0.