Fixing issue #40

Fixed raw bitmask setter error that comes up when trying to set the attribute with a raw bitmask.