fix(filter): Use triple equals comparison with typeof operator.

It is common practise for typeof operator to be used with '==='.