[SP] Fix another instance of unsigned long usage for state bits.
[MP] Fix another instance of unsigned long usage for state bits.