Fixed a bug in unsetBit()