Bug 994459 - Fix webapp-optimize bustage (too much recursion). r=asuth r=ochameau