Added checks for mask bits and potential to be >= _stimulusThreshold

Fixes #1322