fixes issue with editing WAFs when the WAF was attached to an application with lots of data.