Fixed bug in Proto with char (A type) attributes.

Now, when an attribute is a char (<TAG>:A:<VALUE>), it is stored in protobuf as
an int and casted to a Character again when retrieved.
Handled null AlignmentBuckets