Fixed error in status change deleting files.