Fixed a bug in the shift right operation.