Fixed removal of item attributes.