fixes issue with editing WAFs when the WAF was attached to an application with lots of data.
Merge commit '17457d99a7b1c0178c9bc1f56ee9e5eb412eb211' into HEAD