Add filtering capability to idioms table