Should we return `null` instead, to mimic the PostGIS behavior of calling ST_Extent on a query with no results? Then the client-side test also becomes a little more straightforward, since we're testing for `null` instead of testing the length of the bounding box array.

If Leaflet has some provision for dealing with an empty bounds array, though, then we can defer to that.