be ready for null strings

sometimes the filter receives nulls (especially in ng-repeats..) no need to crash..