Fixed display of table filter for empty tables.

Review: https://reviews.apache.org/r/17082