Change type of rate in Comment from Integer to SmallInteger