Implemented WMS filtering