Move min and maxdepth args to resolve #15