Fixed a bug where a matched condition attribute wasn't being removed after being processed.