Added filtering to all tables.

From: Thomas Rampelberg <thomas@saunter.org>
Review: https://reviews.apache.org/r/16851