Avoid printing errors when filter_idx is 0.

Misleading ...