Initialize the filter for first use.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>