Revert "filter api: always treat FILTER_PROPERTY_MATCH_TYPE as an int value"

This reverts commit 45f9e746fb9a42e74b668211372d9e45db3e7b6c.

This fix reopens the reported vulnerability therefore it is reverted.