Fix position of maxdepth arg to avoid warning