Fix bug in BitTable