Create a crap function safe_filter_and_mask