Fixed bit math logic error in 0e765f8405c3ec1b428994d3149599a7132ae07b.