Fixed a bug related to the removeAttrs plugin