issue #19735: Fix critical flaw in setStatus. Git rid of bitwise comparison in set statement.