Improved filter envelopes

Corrected filter envelope behavior.