Add filtering to badges