Ensure mask is not zero