Fixed issue with WFS layer