allows filtering of nested params