Handle depth not being specified at query