Filter encoding handling MultiPoint

Adding support for MultiPoint in filter encoding.