Fix the KeyError encountered in mass removal method Fix the KeyError encountered when performing mass-removal. fixes #124 See merge request !131