Update conn_query.go

fixes:  on writes operation getShardConns function return slave database