Querying for data outside of existing shards should return an empty response.

Fix #1004. Close #1023