add support for nested filter query (#137)