fixes #6301

fixes sdisability genes in general

Signed-off-by: Mloc <colmohici@gmail.com>
Merge pull request #6631 from Mloc/bs12-overflow

fixes #6301