Fixed masterlist not being updated when a file is deleted