Fix algorithm setter argument validation for uchar
Merge pull request #2106 from robbertkl:patch-2