Fixed bugs related to recycle bin permissions