fix query example for no data case