Add option to filter related rows.