Fix bug DNN-3554: try to find parent folder's mapping id.