Fixed 'Add all' feature bugs against modification.