Guard against null mask transform