I fixed the code to support multiple feature types.

I have also added a test for multiple feature types with a filter set.

Please take a look