Fixed bugs in sld editor introduced by stats works.