Updated mask documentation
Bug fix

If data.nxerrors._value contains data, the if statement triggered an
error.