Bugfix : on folder delete, children and medias have a folder_id and are not delete in BD