Allow to filter based on private field

Signed-off-by: Michal Čihař <michal@cihar.com>