Fix status bit offset
Merge pull request #1181 from nlegoff/fix-status

[3.8.6] Fix status bit offset