Scalar add safety checks for #ON bits (w >= 3)

reenable checks found in SDRCategory. ScalarEncoder is widey used, ensure proper function with these checks as well. 
See ML discussion.