Rest API removes entire folders

POST /a/tree/delete deletes all files and subdirs even when the recursive parameter is set to false