documents: fix bug in folder route