fixing clearifnotmatch in masks with literal digits