Digit filter should ignore boolean input

The digits filter should only be filtering things that can represent digits. Booleans do not represent digits and should pass through unchanged.