Discard empty ways from query result geometries